package com.yonyou.pmclouds.constructiondiary.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.picture.entity.PictureViewVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Table(name="pm_constructiondiary")
@Setter
@Getter
/**
 * 施工日志
 */
public class ConstructionDiaryVO extends SuperVO{


    public static String PK_PROJECT = "pk_project";
    public static String BILLSTATUS = "billstatus";

    @Id
    private String pkConstructiondiary;
    private String pk_project;   //生成我发起的时，取这个字段使用的下划线格式
    private String pkTenant;
    //日志文本
    private String diaryContent;
    //图片
    @Transient
    private String[] pictures;

    @Transient
    private String picture_address; // 照片真实地址(用于存储HTML形式)



    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    private byte billstatus;
    private String bill_type;

    // 制单人
    @Transient
    private String creatorName;
    @Transient
    private String projectName;
    @Transient
    private String projectCode;
    @Transient
    private String orgName;
    //经度
    private BigDecimal longitude;
    //纬度
    private BigDecimal latitude;
    //位置信息
    private String position;

    @Transient
    private int picNum;
    @Transient
    private String strCreationtime;
    @Transient
    private String strBillstatus;
}
